package com.zsy.base.constant;

/**
 * @program: springboot_demo
 * @description: 静态常量类
 * @author: zhaoshouyun
 * @create: 2020-01-17 17:59
 **/
public class Constants {

    /**
     *  成功标识
     **/
    public static final String SUCCESS = "0";
    /**
     *  失败标识
     **/
    public static final String FAIL = "-1";

    /**
     *  无权限访问，统一返回401
     **/
    public static final String UNAUTHORIZED_401 = "401";
    /**
     * 配置属性统一前缀
     **/
    public static final String ROOT_PREFIX1 = "demo1";
    public static final String ROOT_PREFIX = "demo";

    public static final String REDIS_TOKEN_KEY="REDIS_TOKEN_KEY";
}
